const express = require("express");
const app = express();

app.use(express.urlencoded({extended: false}));
app.use(express.json());
app.use(express.static("./"));

app.get("/axios/get",((req, res) => {
    res.send(req.query);
}));

app.post("/axios/post",((req, res) => {
    res.send(req.body);
}));

app.get("/demo/get",((req, res) => {
    res.send("demo/get")
}))


app.listen(80,()=>{
    console.log("开机");
})

